<html>
	<head>
		<title>准备中</title>
	</head>
	<body>
		<center>
			<h2>选择队伍</h2>限选4人<br>
			<form method="post">
				<table border="1">
					<tr>
						{% for job in jobs %}
						{% ifchanged job.type %}
					</tr>
					<tr>
						{% endifchanged %}
						{% ifequal job.hide False %}
						<td>
							<p><b>生命：{{ job.hp }}</b></p>
							<p>{{ job.desc }}</p>
							{% for skill in job.skills %}
							<p><b>{{ skill.title }}</b>
							# {{ skill.desc }}</p>
							{% endfor %}

							{% ifequal job.type job.name %}
							<input type="radio" name="{{ job.type }}" value="{{ job.name }}" checked>
							{% else %}
							<input type="radio" name="{{ job.type }}" value="{{ job.name }}">
							{% endifequal %}
							<b>{{ job.title }}</b>
						</td>
						{% endifequal %}
						{% endfor %}
					</tr>
				</table>
				<input type="submit" value="确定">
			</form>
		</center>
	</body>
</html>	
